package com.freecloud.javabasics.design.proxy.staticproxy;

import com.freecloud.javabasics.design.proxy.FindJob;
import com.freecloud.javabasics.design.proxy.Student;

/**
 * @Author: maomao
 * @Date: 2019-11-22 10:41
 */
public class StaticProxyTest {

    /**
     * 这个一个静态代理的例子，模拟学生找工作，由BossZhipin做为代理对象帮学生找工作
     *
     * 弊端是需要已知方法
     *
     * @param args
     */
    public static void main(String[] args) {
        FindJob job = new BossZhipinProxy(new Student());
        job.findJob();
    }
}
